package cn.capital.springjpa.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import cn.capital.springjpa.entity.User;

public interface UserRepository extends JpaRepository<User, Long> {

    User findByUserName(String userName);

}
